#pragma once

#define MYMESS_CALL_VOL_CHANGE (WM_APP + 1)
#define MYMESS_CALL_VOLCOUNT_CHANGE (WM_APP + 2)
#define MYMESS_CALL_DIR_CHANGE (WM_APP + 3)

struct ThreadParam
{
    HWND mDlg; 
};

UINT WaitForVolumeChange(LPVOID pParam);
bool GetVolumesList(CStringArray &arDrives);
UINT WaitForDirectoryChange(LPVOID LPARAM);
bool GetValidVolumes(CStringArray &arString);
void WatchForCDorDVD(CStringArray &arString);